/* Constants.java
 * Holds various contants used in the various DroidNoise classes
 * 
 * @author: Josh Silverman (joshuamsilverman@gmail.com)
 */

package com.redribbon.droidnoise;

import java.util.ArrayList;

import android.net.wifi.WifiManager;

public class NoiseConstants {
	//Buffer size for MediaStreamer
	static final int INTIAL_KB_BUFFER =  96*10/8;//assume 96kbps*10secs/8bits per byte
	//MessageParse stuff
    static final int BUFFERSIZE = 1400;
    static final byte MEDIADATAMESSAGETYPE = 0x00;
	static final byte METADATAMESSAGETYPE = 0x01;
	static final int METADATAFREQUENCY = 5; 

	static final int SOCKET_RECV_TIMEOUT = 500; //in milliseconds (for networking)

	//May Odin forgive me...
	static String server_station_name = "";
	static int server_port_number = -1;
	static int client_port_number = -1;
	static ArrayList<SongContainer> songs_to_stream = null;
	
	//Client hacks
	static String current_playing_station = "";
	static String current_playing_track = "";
	static String current_playing_artist = "";
	static String current_playing_album = "";
	
	static WifiManager wifiman = null;
	
}
